@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="deptInfoForm">
            <input type="hidden" id="id" value="${dept.id}">
            <input type="hidden" id="provinceValue" value="${province}">
            <input type="hidden" id="citiesValue" value="${cities}">
            <input type="hidden" id="regionValue" value="">
            <div class="row">
                <div class="col-sm-6 b-r">
                    <#input id="simplename" name="部门名称" underline="true" value="${dept.simplename}"/>
                    <#input id="fullname" name="部门全称" underline="true" value="${dept.fullname}"/>
                    <#input id="transportation" name="备注" underline="true" value="${dept.tips}"/>
                    <#select id="province" name="省份" underline="true" />
                    <#input id="address" name="门店地址" underline="true" value="${dept.address}"/>
                </div>
                <div class="col-sm-6">
                    <#input id="abbreviation" name="拼音首字母缩写" underline="true" value="${dept.abbreviation}"/>
                    <#input id="num" name="排序" underline="true" value="${dept.num}"/>
                    <#input id="pName" name="上级部门" readonly="readonly" hidden="pid" hiddenValue="${dept.pid}" value="${pName}" clickFun="DeptInfoDlg.showDeptSelectTree(); return false;" style="background-color: #ffffff !important;" underline="true"/>
                    <#select id="cities" name="城市" underline="true" />
                    <#input id="phone" name="电话" underline="true" value="${dept.phone}"/>
                </div>
            </div>
            <!-- 父级部门的选择框 -->
            <div id="parentDeptMenu" class="menuContent" style="display: none; position: absolute; z-index: 200;">
                <ul id="parentDeptMenuTree" class="ztree tree-box" style="width: 245px !important;"></ul>
            </div>
            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="DeptInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="DeptInfoDlg.close()"/>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/system/dept/dept_info.js?v=20200718"></script>
<script src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/jsAddresss.js?v=20200718"></script>
<script src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/initAddress.js?v=20200718"></script>
@}